<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>北京林业大学硕士研究生入学复试登记表</title>
    <link rel="stylesheet" href="../static/css/复试登记.css">
    <link rel="stylesheet" href="../static/plugins/bootstrap-5.3.0-alpha1-dist/css/bootstrap.min.css">
</head>

<body>
    <div class="container">
        {% if fail_info %}
        <div class="alert alert-danger" role="alert">
            {{ fail_info }}
        </div>
        {% endif %}
        {% if sucess_info %}
        <div class="alert alert-success" role="alert">
            {{ sucess_info }}
        </div>
        {% endif %}
        <header>
            <h1>北京林业大学硕士研究生入学复试登记表</h1>
        </header>
        <div class="input-group mb-3">
            <span class="input-group-text" id="basic-addon1">考生姓名</span>
            <input type="text" name="name" class="form-control" placeholder="Username" aria-label="Username"
                aria-describedby="basic-addon1" value="{{ student_info.name }}" readonly>
            <span class="input-group-text" id="basic-addon4">考生准考证号</span>
            <input type="text" name="stu_no" class="form-control" placeholder="" aria-label="Username"
                aria-describedby="basic-addon1" value="{{ student_info.stu_no }}" readonly>
        </div>
        <div class="input-group mb-3">
            <label class="input-group-text" for="inputGroupSelect01">性别</label>
               <input type="text" name="stu_no" class="form-control" placeholder="" aria-label="Username"
                aria-describedby="basic-addon1" value="{{ student_info.gender }}" readonly>
            <span class="input-group-text" id="basic-addon9">复试学科专业</span>
            <input type="text" name="major" class="form-control" placeholder="Input" aria-label="Username"
                aria-describedby="basic-addon1" value="{{ student_info.major }}" readonly>
        </div>
        <div class="input-group mb-3">
            <span class="input-group-text" id="basic-addon5">本科毕业学校</span>
            <input type="text" name="graduation_school" class="form-control" placeholder="学校名称" aria-label="Username"
                aria-describedby="basic-addon1" value="{{ student_info.graduation_school }}" readonly>
            <span class="input-group-text" id="basic-addon15">本科毕业时间</span>
            <input type="text" name="graduation_time" class="form-control" placeholder="XXXX-XX-XX"
                aria-label="Username" aria-describedby="basic-addon1" value="{{ student_info.graduation_time }}"
                readonly>
            <span class="input-group-text" id="basic-addon6">毕业专业</span>
            <input type="text" name="graduation_major" class="form-control" placeholder="专业名称" aria-label="Username"
                aria-describedby="basic-addon1" value="{{ student_info.graduation_major }}" readonly>
        </div>

        <div class="input-group mb-3">
            <label class="input-group-text" for="inputGroupSelect02">考生类型</label>
                <input type="text" name="stu_no" class="form-control" placeholder="" aria-label="Username"
                aria-describedby="basic-addon1" value="{{ student_info.stu_type }}" readonly>
                <input type="text" name="stu_no" class="form-control" placeholder="" aria-label="Username"
                aria-describedby="basic-addon1" value="{{ student_info.category }}" readonly>
        </div>
        <div class="mb-3">
            <label for="basic-url" class="form-label">考生联系方式</label>
            <div class="input-group">
                <span class="input-group-text" id="basic-addon3">手机</span>
                <input name="contact_phone" type="text" class="form-control" id="basic-url"
                    aria-describedby="basic-addon3" value="{{ student_info.contact_phone }}" readonly>
                <span class="input-group-text" id="basic-addon7">紧急联系人手机</span>
                <input name="emergency_contact_phone" type="text" class="form-control" id="basic-url1"
                    aria-describedby="basic-addon3" value="{{ student_info.emergency_contact_phone }}" readonly>
            </div>
        </div>

        <div class="input-group mb-3">
            <span class="input-group-text">报考导师优先意向</span>
            <input name="preferred_mentor_1" type="text" class="form-control" placeholder="*"
                aria-label="Amount (to the nearest dollar)" value="{{ student_info.preferred_mentor_1 }}" readonly>
            <input name="preferred_mentor_2" type="text" class="form-control" placeholder="*"
                aria-label="Amount (to the nearest dollar)" value="{{ student_info.preferred_mentor_2 }}" readonly>
            <input name="preferred_mentor_3" type="text" class="form-control" placeholder="*"
                aria-label="Amount (to the nearest dollar)" value="{{ student_info.preferred_mentor_3 }}" readonly>
        </div>
        <div class="mb-3">
            <label for="basic-url" class="form-label">以下信息仅由报考计算机科学与技术考生填写</label>
            <div class="input-group">
                <span class="input-group-text" id="basic-addon10">拟报研究方向</span>
                <input name="research_direction" type="text" class="form-control" id="basic-url4"
                    aria-describedby="basic-addon3" value="{{ student_info.research_direction }}" readonly>
            </div>
        </div>
        <label for="basic-url" class="form-label">以下信息仅由报考电子信息考生填写</label>
        <div class="input-group mb-3">
            <label class="input-group-text" for="inputGroupSelect11">是否接受专业调整</label>
                <input name="contact_phone" type="text" class="form-control" id="basic-url"
                    aria-describedby="basic-addon3" value="{{ student_info.accept_adjustment }}" readonly>
        </div>
        <label for="basic-url" class="form-laybel">除一志愿方向外电子信息下其他方向调整的优先顺序</label>
        <div class="input-group mb-3">
            <input name="adjustment_order_1" type="text" class="form-control" placeholder="*"
                aria-label="Amount (to the nearest dollar)" value="{{ student_info.adjustment_order_1 }}" readonly>
            <input name="adjustment_order_2" type="text" class="form-control" placeholder="*"
                aria-label="Amount (to the nearest dollar)" value="{{ student_info.adjustment_order_2 }}" readonly>
            <input name="adjustment_order_3" type="text" class="form-control" placeholder="*"
                aria-label="Amount (to the nearest dollar)" value="{{ student_info.adjustment_order_3 }}" readonly>
            <input name="adjustment_order_4" type="text" class="form-control" placeholder="*"
                aria-label="Amount (to the nearest dollar)" value="{{ student_info.adjustment_order_4 }}" readonly>
        </div>
        <!-- 以下信息由复试组填写 -->
        <form action="{% url 'registory_info' %}" method="post" >
            {% csrf_token %}
            <input type="hidden" name="stu_id" value="{{ student_info.stu_no }}">
            <div class="mb-3">
                <label for="exampleFormControlInput1" class="form-label">复试时间以及地点</label>
                <input  class="form-control" id="exampleFormControlInput1"
                    placeholder="xxxx-xx-xx xx:xx:xx 地点" name='place'>
            </div>
            <div class="mb-3">
                <label for="exampleFormControlTextarea1" class="form-label">复试评价</label>
                <textarea class="form-control" id="exampleFormControlTextarea1" rows="3" name='review'
                    placeholder="复试小组对考生复试表现的综合评价（外语水平，专业知识，综合素质，培养潜质等方面）："></textarea>
            </div>
            <div class="mb-3">
                <label for="exampleFormControlInput1" class="form-label">复试组长签字</label>
                <input class="form-control" id="exampleFormControlInput1"
                    placeholder="xxx" name='leadersignature'>
            </div>
            <div class="input-group mb-3">
                <span class="input-group-text" id="basic-addon5">外语听力以及口语</span>
                <input type="text" name="foreignlanguage" class="form-control" placeholder="成绩" aria-label="Username" name='foreignlanguage'
                    aria-describedby="basic-addon1">
                <span class="input-group-text" id="basic-addon15">专业知识测试</span>
                <input type="text" name="knowledgetest" class="form-control" placeholder="成绩" aria-label="Username" name='knowledgetest'
                    aria-describedby="basic-addon1">
                <span class="input-group-text" id="basic-addon6">综合素质面试</span>
                <input type="text" name="interview" class="form-control" placeholder="成绩" aria-label="Username" name='interview'
                    aria-describedby="basic-addon1">
                <span class="input-group-text" id="basic-addon6">复试总成绩</span>
                <input type="text" name="totalscore" class="form-control" placeholder="成绩" aria-label="Username" name='totalscore'
                    aria-describedby="basic-addon1">
            </div>
            <div class="mb-3">
                <label for="basic-url" class="form-label">签字</label>
                <div class="input-group">
                    <span class="input-group-text" id="basic-addon10">复试组成员签字</span>
                    <input name="membersignature" type="text" class="form-control" id="basic-url4" name='membersignature'
                        aria-describedby="basic-addon3">
                    <span class="input-group-text" id="basic-addon10">拟录取导师签字</span>
                    <input name="membersignature" type="text" class="form-control" id="basic-url4" name='mentorsignature'
                        aria-describedby="basic-addon3">
                </div>
            </div>
            <button class="w-100 btn btn-lg btn-primary" type="submit" style="background-color: green">提交</button>
        </form>
    </div>
    <script src="../static/plugins/bootstrap-5.3.0-alpha1-dist/js/bootstrap.bundle.min.js"></script>
</body>

</html>